from s1 import func1, func2, func3, ce

#普通任务
# res = func1.delay()
# print(res)
#延时任务
# res = func1.apply_async((1, 2), countdown=6)
# print(res.id)
#周期任务
ce.conf.beat_schedule = {
    "homework":{
        "task": "s1.func1",
        "schedule": 4,
       "args": (2, 3)
    }
}
